<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="zh-CN">

	<head>
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<title>小米商城</title>
		<link rel="stylesheet" type="text/css" href="/Public/css/bootstrap.min.css" />
		<script src="/Public/js/jquery.min.js"></script>
		<link rel="stylesheet" type="text/css" href="/Public/css/type.css" />
	
	<script>
		$(function(){
			$('#search').submit(function(event){
			 	event.preventDefault();
				window.location.href="/index.php?s=/Home/Index/searchGood/keyword/"+$("#keyword").val(); 
			});
		});
	
	</script>
	</head>

	<body class="index_body">

		<!--*****************************************导航栏*****************************************************-->
		<nav class="navbar navbar-inverse navbar-fixed-top">
			<div class="container-fluid">
				<!--小米商城名称以及隐藏内容按钮-->
				<div class="navbar-header">
					<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
			        <span class="sr-only"></span>
			        <span class="icon-bar"></span>
			        <span class="icon-bar"></span>
			        <span class="icon-bar"></span>
			    </button>
					<a class="navbar-brand" href="#">小米商城</a>
				</div>
				<!--下拉导航-->
				<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
					<ul class="nav navbar-nav">
						<li class="active">
							<a href="/index.php?s=/Home/Index/index.html">首页</a>
						</li>
						<li class="dropdown">
							<a href="/index.php?s=/Home/Index/classify.html">分类</a>
						</li>
						<li class="dropdown">
							<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
								我的 <span class="caret"></span>
							</a>
							<ul class="dropdown-menu">
								<li>
									<a href="/index.php?s=/Home/Cart/index.html">购物车</a>
								</li>
								<li>
									<a href="/index.php?s=/Home/User/order.html">订单</a>
								</li>
								<li>
									<a href="/index.php?s=/Home/User/personalInfo">信息</a>
								</li>
							</ul>
						</li>
					</ul>
					<!--搜索条-->
					<form class="navbar-form navbar-right" id="search">
						<div class="form-group has-feedback">
							<span class="glyphicon glyphicon-search form-control-feedback"></span>
							<input type="search" class="form-control" placeholder="Search for..." autofocus id="keyword">
						</div>
					</form>
					<!--登陆注册连接-->
					<ul class="nav navbar-nav navbar-right">
					    <li>
							<?php if(($_SESSION['userName']) != ""): ?><a>欢迎您，<?php echo (session('userName')); ?></a><?php endif; ?>
						</li>
						<li>
							<a href="/index.php?s=/Home/User/login">登陆</a>
						</li>
						<li>
							<a href="/index.php?s=/Home/User/register">注册</a>
							<!-- "/index.php?s=/Admin/Controller/action" -->
						</li>
					</ul>
				</div>
			</div>
		</nav>
		<!DOCTYPE html>
<html lang="zh-CN">

	<head>
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<title>小米商城</title>
		<link rel="stylesheet" type="text/css" href="/Public/css/bootstrap.min.css" />
		<link rel="stylesheet" type="text/css" href="/Public/css/type.css" />
		<style type="text/css">
			
			
		</style>

	</head>

	<body class="signin_body">	
		<!--*********************************************section**********************************************************-->
		<section class="container signin_section">
			<div class="col-lg-4 col-md-3"></div>
			<div class="col-lg-4 col-md-6 col-xs-12">
				<form class="form-signin" method="post" action="">
					<h2 class="page-header signin_title">登陆</h2>
					<input type="text" class="form-control" placeholder="手机/邮箱/账号" name="userId"><br />
					<input type="password" class="form-control" placeholder="密码" name="password"><br />
					<br />
					<button class="btn btn-lg btn-primary btn-block" type="submit" src="/index.php?s=/Home//index.php?s=/Home/User/login" name="submit">登陆</button>
				</form>

			</div>
		</section>
		<script type="text/javascript" src="/Public/js/jquery.min.js">
		</script>
		<script type="text/javascript" src="/Public/js/bootstrap.min.js"></script>
	</body>

</html>
	
</body>
</html>